package entity;
public class Lost {
    private int lostID;
    private String lost_name;
    private String lost_time;
    private String describe;
    private String place;
    private String sort;
    private int userID;

    public Lost(String lost_name, String lost_time, String describe, String place, String sort, int userID) {
        this.lost_name = lost_name;
        this.lost_time = lost_time;
        this.describe = describe;
        this.place = place;
        this.sort = sort;
        this.userID = userID;
    }

    public Lost(int lostID, String lost_name, String lost_time, String describe, String place, String sort, int userID) {
        this.lostID = lostID;
        this.lost_name = lost_name;
        this.lost_time = lost_time;
        this.describe = describe;
        this.place = place;
        this.sort = sort;
        this.userID = userID;
    }

    public int getLostID() {
        return lostID;
    }

    public void setLostID(int lostID) {
        this.lostID = lostID;
    }

    public String getLost_name() {
        return lost_name;
    }

    public void setLost_name(String lost_name) {
        this.lost_name = lost_name;
    }

    public String getLost_time() {
        return lost_time;
    }

    public void setLost_time(String lost_time) {
        this.lost_time = lost_time;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    @Override
    public String toString() {
        return "Lost{" +
                "lostID=" + lostID +
                ", lost_name='" + lost_name + '\'' +
                ", lost_time='" + lost_time + '\'' +
                ", describe='" + describe + '\'' +
                ", place='" + place + '\'' +
                ", sort=" + sort +
                ", userID='" + userID + '\'' +
                '}';
    }
}
